define(['../../../../js/lib/other/sweet-alert'],function() {
    return ['$scope','$location', '$interval','$timeout','$routeParams', function($scope,$location,$interval,$timeout,$routeParams) {
		$scope.$emit("top-show",'true');//顶部显示
    	$scope.$emit('menuTypeLight','mine'); 	//控制底部menu高亮
    	$scope.$emit('bub-menu','true'); 	//隐藏底部menu
    	$scope.$emit('flag-tag','43');//显示底部文字
    	
    	
    	if($routeParams.flag != "" && $routeParams.flag != null){
    		var msgString = $routeParams.flag;
    		$scope.subject = msgString.split('_')[0];
    		$scope.msgContent = msgString.split('_')[1];
    		$scope.msgDate = msgString.split('_')[2];
    	}else{
    		FIREFLY("连接异常", "","",function(){
    			$timeout(function(){
    				history.back();
    			},0);
    		});
    	}
    	
    	
        $scope.$apply();
    }];
});